<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>

<div id="app">
    <todo-item other-girl></todo-item>

    <todo-item :other-girl="false"></todo-item>

    <todo-item :other-girl="opt.isGirl"></todo-item>
</div>

<script>
    const vueOpt = {
        data(){
            return {
                opt:{
                    isGirl: true
                }
            }
        }
    }

    const app = Vue.createApp(vueOpt)

    app.component('todo-item', {
        data(){
            return {

            }
        },
        props: ['otherGirl'],
        template: `<div>{{otherGirl?'Kitty':'Bob'}}</div>`
    })
    app.mount('#app');
</script>
</body>
</html>
